package geektime.spring.springbucks.waiter.config;

import geektime.spring.springbucks.waiter.model.Coffee;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CoffeeConfig {

    @Bean
    public Coffee createCoffee(){
        return Coffee.builder().name("joe").quantity(1000L).build();
    }
}
